home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Netware Super Library
/
Netware Super Library.iso
/
vbasic
/
nivb
/
nwsync.bas
< prev
next >
Wrap
BASIC Source File
|
1993-04-27
|
3KB
|
34 lines
'NWSYNC.BAS NetWare Synchronization Services Interface for Visual Basic For Windows
'Version 1.0
'Novell Systems Research Department, Novell, Inc.
'Copyright (c) 1993, Novell, Inc.
'This interface is not supported through Novell's regular
'support channels. See README.TXT for more information.
Declare Function ClearFile Lib "NWNETAPI.DLL" (ByVal fileName$) As Integer
Declare Function ClearFileSet Lib "NWNETAPI.DLL" () As Integer
Declare Function ClearLogicalRecord Lib "NWNETAPI.DLL" (ByVal logicalRecordName$) As Integer
Declare Function ClearLogicalRecordSet Lib "NWNETAPI.DLL" () As Integer
Declare Function ClearPhysicalRecord Lib "NWNETAPI.DLL" (ByVal fileHandle%, ByVal recordStartOffset&, ByVal recordLength&) As Integer
Declare Function ClearPhysicalRecordSet Lib "NWNETAPI.DLL" () As Integer
Declare Function CloseSemaphore Lib "NWNETAPI.DLL" (ByVal semaphoreHandle&) As Integer
Declare Function ExamineSemaphore Lib "NWNETAPI.DLL" (ByVal semaphoreHandle&, semaphoreValue%, openCount%) As Integer
Declare Function GetLockMode Lib "NWNETAPI.DLL" () As Integer
Declare Function LockFileSet Lib "NWNETAPI.DLL" (ByVal timeoutLimit%) As Integer
Declare Function LockLogicalRecordSet Lib "NWNETAPI.DLL" (ByVal lockDirective%, ByVal timeoutLimit%) As Integer
Declare Function LockPhysicalRecordSet Lib "NWNETAPI.DLL" (ByVal lockDirective%, ByVal timeoutLimit%) As Integer
Declare Function LogFile Lib "NWNETAPI.DLL" (ByVal fileName$, ByVal lockDirective%, ByVal timeoutLimit%) As Integer
Declare Function LogLogicalRecord Lib "NWNETAPI.DLL" (ByVal logicalRecordName$, ByVal lockDirective%, ByVal timeoutLimit%) As Integer
Declare Function LogPhysicalRecord Lib "NWNETAPI.DLL" (ByVal fileHandle%, ByVal recordStartOffset&, ByVal recordLength&, ByVal lockDirective%, ByVal timeoutLimit%) As Integer
Declare Function OpenSemaphore Lib "NWNETAPI.DLL" (ByVal semaphoreName$, ByVal initialValue%, semaphoreHandle&, openCount%) As Integer
Declare Function ReleaseFile Lib "NWNETAPI.DLL" (ByVal fileName$) As Integer
Declare Function ReleaeFileSet Lib "NWNETAPI.DLL" () As Integer
Declare Function ReleaseLogicalRecord Lib "NWNETAPI.DLL" (ByVal logicalRecordName$) As Integer
Declare Function ReleaseLogicalRecordSet Lib "NWNETAPI.DLL" () As Integer
Declare Function ReleasePhysicalRecord Lib "NWNETAPI.DLL" (ByVal fileHandle%, ByVal recordStartOffset&, ByVal recordLength&) As Integer
Declare Function ReleasePhysicalRecordSet Lib "NWNETAPI.DLL" () As Integer
Declare Function SetLockMode Lib "NWNETAPI.DLL" (ByVal lockMode%) As Integer
Declare Function SignalSemaphore Lib "NWNETAPI.DLL" (ByVal semaphoreHandle&) As Integer
Declare Function WaitOnSemaphore Lib "NWNETAPI.DLL" (ByVal semaphoreHandle&, ByVal timeoutLimit%) As Integer